package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.courseware.CoursewareQueryDTO;
import com.gsafety.wellsfort.domain.model.knowledge.Courseware;

import java.util.List;

public interface CoursewareDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Courseware record);

    int insertSelective(Courseware record);

    Courseware selectByPrimaryKey(Integer id);

    List<Courseware> selectByParam(CoursewareQueryDTO params);

    int updateByPrimaryKeySelective(Courseware record);

    int updateByPrimaryKey(Courseware record);
}